<template>
	<div>
		<HeaderMsg></HeaderMsg>
		<div class="welcompe">
			<img src="~@/assets/images/welcompe.png" alt="欢迎来到如e伴">
		</div>
		<p>同步跟进孩子成长轨迹</p>
		<p>有效帮助家长了解孩子的课堂表现</p>
		<div class="smallPencil">
			<img src="~@/assets/images/smallPencil.png" alt="">
		</div>
		<div class="inputModel">
			<input type="number" v-model="phoneNumber" oninput="if(value.length>11)value=value.slice(0,11)"  placeholder="输入手机号">
		</div>
		<div class="inputModel">
			<input type="password" v-model="password" placeholder="密码">
		</div>
		<p class="forgetPassword">			
			<a href="">忘记密码</a>
		</p>
		<div class="login">登录</div>
		<p class="register"><a href="">首次使用前往注册</a></p>
	<FooterMsg></FooterMsg>	
	</div>
</template>
<script>
import { Button } from 'mint-ui'
import FooterMsg from '../../components/FooterMsg'
import HeaderMsg from '../../components/Header'
export default {
  name: 'login',
  components: {
  	FooterMsg,
  	HeaderMsg
  },
  data () {
    return {
      msg: '',
      phoneNumber:'' ,
      password:'' ,
    }
  },
  created() {
  }
}
</script>
<style scoped>
	.welcompe{
		width: 4.55rem;
		height: 0.73rem;
		margin: 0.37rem auto;
	}
	.welcompe>img{
		width: 100%;
		height: 100%;
	}
	.smallPencil{
		width: 4rem;
		height: 2.14rem;
		margin: 0.37rem auto;
	}
	.smallPencil>img{
		width: 100%;
		height: 100%;
	}
	div>p{
		font-size: 0.28rem;
		color: #C5C5C5;
		line-height: 0.42rem;
	}
	input{
		border:  none;
		width: 100%;
		outline: none;
		font-size: 0.28rem;	
	}
	.inputModel{
		width: 6rem;
		height: 1rem;
		border-bottom: 0.02rem solid gray;
		margin: 0.05rem auto;
	}
	a{
		font-size: 0.28rem;
		color: #4990E2;
		text-align: right;
	}
	p.forgetPassword{
		width: 6rem;
		margin: 0 auto;
		text-align: right;
	}
	.login{
		width: 6rem;
		height: 1.12rem;
		text-align: center;
		color: #FFF;
		font-size: 0.32rem;
		line-height: 1.12rem;
		background-color: #FF6269;
		box-shadow: 0 2px 4px 0 rgba(255,255,255,0.50);
		border-radius: 0.16rem;
		margin: 0 auto;
	}
	::-webkit-input-placeholder {
		color: #E3E3E3;	
	}
</style>